package com.zmj.sy.mom.srv.aps.bean.vo.report;


import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDate;

@Getter
@Setter
public class ReportProOrderTreeResVo {

    @ApiModelProperty("ID")
    private String id;

    @ApiModelProperty("PID")
    private String pid;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("是否为子节点")
    private boolean leaf;

    @ApiModelProperty("1:订单完成、2:订单进行中、3:订单准备中、4:包、5:组件、6:零件、7:外购件、8:产品订单、9:工装订、10:物料订单")
    private Integer iconCls;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("交付日期")
    private LocalDate deliveryDate;

    @ApiModelProperty("类型：1分类 2施工号 3包 4BOM")
    private Integer treeType;

    @ApiModelProperty("在制品数量")
    private BigDecimal inProgressCount;

    @ApiModelProperty("完成数量")
    private BigDecimal finishCount;

    @ApiModelProperty("总数量")
    private BigDecimal totalCount;

    @ApiModelProperty("单位")
    private String unit;
}
